package com.cyk.demo.service;

import com.cyk.demo.mapper.UserMapper;
import com.cyk.model.user.Userinfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    private UserMapper userMapper;

    public Userinfo selectUserinfo(String username, String password) {
        return userMapper.selectUserinfo(username, password);
    }

}
